<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 秦俊豪
  Date: 2020/12/10
  Time: 17:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="n" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
</head>
<body>
<table class="layui-table">
    <tr>
        <th>rid</th>
        <th>rname</th>
        <th>memo</th>
        <th>status</th>
        <th>操作</th>
    </tr>
    <c:forEach var="o" items="${requestScope.get}">
        <tr>
            <td>${o.rid}</td>
            <td>${o.rname}</td>
            <td>${o.memo}</td>
            <td>${o.status}</td>
            <td>
                <a href=" ${pageContext.request.contextPath}/t/gouspdte?id=${o.rid}" class="layui-btn layui-btn-normal">修改</a>
                <a  href=" ${pageContext.request.contextPath}/t/delete?id=${o.rid}" class="layui-btn layui-btn-danger">删除</a>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
